﻿<Window x:Class="CompareDirectories.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Directory Comparer" Height="453" Width="894" Loaded="Window_Loaded" Icon="Resources\folder.png" MaxHeight="453" MaxWidth="894" MinHeight="453" MinWidth="894" WindowStartupLocation="CenterScreen">
    <Grid Width="874" Height="421">
        <TextBox Height="23" HorizontalAlignment="Left" Margin="44,105,0,0" Name="folder1TextBox" VerticalAlignment="Top" Width="251" IsReadOnly="True" TextChanged="folder1TextBox_TextChanged"/>
        <Button Content="..." Height="23" HorizontalAlignment="Right" Margin="0,105,540,0" Name="browseButton1" VerticalAlignment="Top" Width="33" Click="browseButton1_Click" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="519,104,0,0" Name="folder2TextBox" VerticalAlignment="Top" Width="251" IsReadOnly="True" TextChanged="folder2TextBox_TextChanged"/>
        <Button Content="..." Height="23" HorizontalAlignment="Right" Margin="0,105,65,0" Name="browseButton2" VerticalAlignment="Top" Width="33" Click="browseButton2_Click" />
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="378,12,0,0" Name="fileFilterDropDown" VerticalAlignment="Top" Width="120"  ItemsSource="{Binding}" SelectionChanged="fileFilterDropDown_SelectionChanged" FontFamily="Tahoma">
        <ComboBox.ItemTemplate>
            <DataTemplate>
                <StackPanel Orientation="Horizontal">
                    <TextBlock Text="{Binding Name}" />
                </StackPanel>
            </DataTemplate>
        </ComboBox.ItemTemplate>
        </ComboBox>
            <Label Content="File Filter:" Height="28" HorizontalAlignment="Left" Margin="301,12,0,0" Name="label1" VerticalAlignment="Top" Width="59" FontFamily="Tahoma" />
        <DataGrid AutoGenerateColumns="False" Height="200" HorizontalAlignment="Left" Margin="9,155,0,0" Name="firstDataGrid" VerticalAlignment="Top" Width="362" ItemsSource="{Binding}" IsReadOnly="True" HorizontalGridLinesBrush="#00000000" FontFamily="Tahoma" ScrollViewer.ScrollChanged="firstDataGrid_ScrollChanged" LoadingRow="firstDataGrid_LoadingRow" EnableColumnVirtualization="True" EnableRowVirtualization="True">
            <DataGrid.Columns>
                <DataGridTextColumn Header="Name" Binding="{Binding Name}" Width="380"/>
                <DataGridTextColumn Header="Creation Date" Binding="{Binding CreatedDate}"/>
                <DataGridTextColumn Header="Last Edit Date" Binding="{Binding ModifiedDate}"/>
            </DataGrid.Columns>
        </DataGrid>
        <DataGrid AutoGenerateColumns="False" Height="200" HorizontalAlignment="Right" Margin="0,155,6,0" Name="secondDataGrid" VerticalAlignment="Top" Width="384" ItemsSource="{Binding}" IsReadOnly="True" FontFamily="Tahoma" HorizontalGridLinesBrush="#00000000" ScrollViewer.ScrollChanged="secondDataGrid_ScrollChanged" LoadingRow="secondDataGrid_LoadingRow">
            <DataGrid.Columns>
                <DataGridTextColumn Header="Name" Binding="{Binding Name}" Width="380"/>
                <DataGridTextColumn Header="Creation Date" Binding="{Binding CreatedDate}"/>
                <DataGridTextColumn Header="Last Edit Date" Binding="{Binding ModifiedDate}"/>
            </DataGrid.Columns>
        </DataGrid>
        <Image Height="36" HorizontalAlignment="Left" Margin="390,233,0,0" Name="programImage" Stretch="Fill" VerticalAlignment="Top" Width="77" Source="Resources\folder_diff.png" />
        <Image Height="34" HorizontalAlignment="Left" Margin="276,6,0,0" Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="34" Source="Resources\filter_data.png" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="169,359,0,0" Name="filesFound1TextBox" VerticalAlignment="Top" Width="120"  IsReadOnly="True" Focusable="False"/>
        <TextBox Height="23" HorizontalAlignment="Left" Margin="672,359,0,0" Name="filesFound2TextBox" VerticalAlignment="Top" Width="120" IsReadOnly="True" Focusable="False"/>
        <TextBox Height="23" HorizontalAlignment="Left" Margin="169,389,0,0" Name="subdirectories1FoundTextBox" VerticalAlignment="Top" Width="120" IsReadOnly="True" Focusable="False"/>
        <TextBox Height="23" HorizontalAlignment="Left" Margin="672,389,0,0" Name="subdirectoriesFound2TextBox" VerticalAlignment="Top" Width="120" IsReadOnly="True" Focusable="False"/>
        <Label Content="Files Found:" Height="28" HorizontalAlignment="Left" Margin="91,357,0,0" Name="filesFound1" VerticalAlignment="Top" FontFamily="Tahoma" />
        <Label Content="Subdirectories Found:" Height="28" HorizontalAlignment="Left" Margin="38,387,0,0" Name="subdirFound1" VerticalAlignment="Top" FontFamily="Tahoma" />
        <Label Content="Files Found:" Height="28" HorizontalAlignment="Left" Margin="589,359,0,0" Name="filesFound2" VerticalAlignment="Top" FontFamily="Tahoma" />
        <Label Content="Subdirectories Found:" Height="28" HorizontalAlignment="Left" Margin="537,388,0,0" Name="subdirectoriesFound2" VerticalAlignment="Top" FontFamily="Tahoma" />
        <Label Content="(Default Filter = All Files)" Height="28" HorizontalAlignment="Left" Margin="373,41,0,0" Name="labelDefaultFilter" VerticalAlignment="Top" FontFamily="Tahoma" FontSize="11" />
        <TextBlock Height="23" HorizontalAlignment="Left" Margin="353,364,0,0" Name="resultOfComparingTextBlock" Text="Result" VerticalAlignment="Top" FontFamily="Tahoma" FontWeight="ExtraBold" Visibility="Hidden" Width="145" TextAlignment="Center" />
        <CheckBox Content="Recursive Scan" Height="16" HorizontalAlignment="Left" Margin="381,76,0,0" Name="recursiveScanCheck" VerticalAlignment="Top" FontFamily="Tahoma" Checked="recursiveScanCheck_Checked" Unchecked="recursiveScanCheck_Unchecked"/>
    </Grid>
</Window>
